package org.dromara.bclt.domain.bo;

import org.dromara.bclt.domain.DeviceInfo;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 手环-设备信息业务对象 bclt_deviceInfo
 *
 * @author RRyuan
 * @date 2024-10-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = DeviceInfo.class, reverseConvertGenerate = false)
public class DeviceInfoBo extends BaseEntity {

    /**
     * 设备id
     */
//    @NotNull(message = "设备id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 设备编号
     */
    @NotBlank(message = "设备编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String deviceNumber;

    /**
     * 用户账号
     */

    private String userName;

    /**
     * 姓名
     */

    private String name;

    /**
     * 性别
     */
    private String sex;

    /**
     * 年龄
     */
    private Long age;

    /**
     * 身高
     */
    private Long height;

    /**
     * 体重
     */
    private Long weight;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 家庭住址
     */
    private String address;

    /**
     * 备注
     */
    private String remark;


}
